package org.example.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BookInfo {
    private String bookId;
    private String bookName;
    private String author;
    private String publisher;
    private LocalDate publishDate;
    private String categoryId;
    private String categoryName;
    private BigDecimal price;
    private BigDecimal cost;
    private String isbn;
    private Integer pageCount;
    private Integer wordCount;
    private Integer printTime;
    private Integer stockStatus; // 0-充足 1-正常 2-紧张 3-缺货
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}